<?php $title_lang = field('title'); ?>
<div class="content_left left">
  
  <ul class="top sitemap">
    <li class="parent"><strong><a href="<?=PATH_URL_LANG?>"><?=lang('webmap_home')?></a></strong></li>
    <?php foreach($Menu as $M){ 
      $class=($this->uri->segment(2)==$M->slug)?'class="active"':'';
      ?>
    <li class="parent haschild">
      <strong><a href="<?=PATH_URL_LANG.$M->link?>" <?=$class?>><?=$M->$title_lang?></a></strong>
      <?php if(!empty($M->submenu)){ ?>
      <ul class="sub">
        <?php foreach($M->submenu as $sub){
                $class_sub=($this->uri->segment(3)==$sub->slug)?'class="sub_active"':'';
        ?>
        <li class="child"><a href="<?=PATH_URL_LANG.$sub->link?>" <?=$class_sub?>><?=$sub->$title_lang?></a></li>
        <?php } ?>
      </ul>
      <?php } ?>
    </li>
    <?php } ?>
    <li class="parent"><strong><a href="<?=PATH_URL_LANG.'website-map'?>"><?=lang('webmap_webmap')?></a></strong></li>
  </ul>
</div>

<div class="content_right right">
  <!-- USER BLOCK -->
  <?=Modules::run('users/block','user_info')?>

  <div id="wrap_banner">
    <?=Modules::run("banner/list_right_banner");?>
  </div>
</div>
<div class="clearAll"></div>